import java.io.*;

public class demo07 {
    public static void main(String[] args) {
        try (OutputStream outputStream= new FileOutputStream("d:/test.txt")){
            outputStream.write(97);
            outputStream.write(98);
            outputStream.write(99);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
